package com.tbit.main.pojo;

import lombok.Data;

import java.math.BigDecimal;

/**
 * 优惠券
 *
 * @author Leon
 * 2020年9月3日 下午2:17:05
 */
@Data
public class UserRefundOrderSta {
    private BigDecimal userRefundMoney;

    public void setUserRefundMoney(Long userRefundMoney) {
        BigDecimal bigDecimal = new BigDecimal(userRefundMoney);
        bigDecimal = bigDecimal.divide(new BigDecimal("100")).setScale(2, BigDecimal.ROUND_HALF_UP);
        ;
        this.userRefundMoney = bigDecimal;
    }

}
